package com.cloud.pole.shop.model.entity.user;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 
 */
@Table(name="shop_user_deli_addr")
@Data
public class ShopUserDeliAddr implements Serializable {
    /**
     * 默认标志( 1:是 0:否)
     */
	public static final int DEFAULT_TAG_YES = 1;
	public static final int DEFAULT_TAG_NO  = 0;
	
	 /**
     * 送货地址id
     */
	@Id
    private Integer addrId;

    /**
     * 姓名
     */
    private String deliName;

    /**
     * 省id
     */
    private String provinceId;

    /**
     * 省
     */
    private String provinceName;

    /**
     * 市id
     */
    private String cityId;

    /**
     * 市
     */
    private String cityName;

    /**
     * 区id
     */
    private String districtId;

    /**
     * 区
     */
    private String districtName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 邮编
     */
    private String postcode;

    /**
     * 联系电话
     */
    private String tel;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 默认标志( 1:是 0:否)
     */
    private Integer defaultTag;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 登录用户名
     */
    private String userName;
    private static final long serialVersionUID = 1L;
}